<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="java.util.*" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<% 

request.setCharacterEncoding("utf-8");
response.setCharacterEncoding("utf-8");
Vector v=(Vector)application.getAttribute("Mess");
out.print("<center>");
out.print("<table  border=1>");
 out.print("<tr>");
     out.print("<td>"+"预案名称"+"</td>");
     out.print("<td>"+"<center>"+"留言时间"+"</center>"+"</td>");
     out.print("<td>"+"留言内容"+"</td>");
out.print("</tr>");
for(int i=0;i<v.size();i++)
{
	out.print("<tr>");
	String messages=(String)v.elementAt(i);
	StringTokenizer fenxi = new StringTokenizer(messages,"#");
	out.print("<tr>");
	int number = fenxi.countTokens();
	for(int k= 0;k<number;k++)
	{
		String str= fenxi.nextToken();
		if(k<number-1)
		{
			out.print("<td>"+str+"</td>");
		}
		else
		{
			out.print("<td>"+str+"</td>");
		}
	
	}
	out.print("</tr>");
	out.print("</tr>");
}

out.print("</table>");
out.print("</center>");

%>
  <center><a href="Message.jsp">我还要评论</a></center>
</body>
</html>